package com.raising.modules.code.entity;

import com.raising.framework.entity.BaseEntity;

/**
* 资源池
* @author gaoyuan
* @createTime 2018-01-02 20:26:14
*/
public class CodePool extends BaseEntity<CodePool>{

    private static final long serialVersionUID = 1L;

    /** 序号 */
    private String sort;
    /** 资源池名称 */
    private String name;
    /** IP地址 */
    private String ip;
    /** 端口 */
    private String port;
    /** 用户名 */
    private String username;
    /** 密码 */
    private String password;
    /** 编码 */
    private String unicode;
    /** 类型 */
    private String type;

    public CodePool() {
        super();
    }
    public CodePool(String id){
        super(id);
    }

    public String getSort(){
        return sort;
    }

    public void setSort(String sort){
        this.sort = sort;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public String getIp(){
        return ip;
    }

    public void setIp(String ip){
        this.ip = ip;
    }

    public String getPort(){
        return port;
    }

    public void setPort(String port){
        this.port = port;
    }

    public String getUsername(){
        return username;
    }

    public void setUsername(String username){
        this.username = username;
    }

    public String getPassword(){
        return password;
    }

    public void setPassword(String password){
        this.password = password;
    }

    public String getUnicode(){
        return unicode;
    }

    public void setUnicode(String unicode){
        this.unicode = unicode;
    }

    public String getType(){
        return type;
    }

    public void setType(String type){
        this.type = type;
    }

    @Override
    public String toString() {
        return "CodePool{" +
            "id='" + id + '\'' + ", " + 
            "sort='" + sort + '\'' + ", " + 
            "createBy='" + createBy + '\'' + ", " + 
            "createDate='" + createDate + '\'' + ", " + 
            "updateBy='" + updateBy + '\'' + ", " + 
            "updateDate='" + updateDate + '\'' + ", " + 
            "remarks='" + remarks + '\'' + ", " + 
            "status='" + status + '\'' + ", " + 
            "name='" + name + '\'' + ", " + 
            "ip='" + ip + '\'' + ", " + 
            "port='" + port + '\'' + ", " + 
            "username='" + username + '\'' + ", " + 
            "password='" + password + '\'' + ", " + 
            "unicode='" + unicode + '\'' + ", " + 
            "type='" + type + '\'' +
        '}';
    }
}
